package org.opens.baseSubRecord.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "base_sub_record")
public class BaseSubRecordEntity {

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @TableField(value = "parent_id")
    private Long parentId;

    @TableField(value = "json_key")
    private String jsonKey;

    @TableField(value = "json_value")
    private String jsonValue;

    @TableField(value = "org_code")
    private Long orgCode;

}
